package com.qubuyer.repository.entitys

import java.io.Serializable

/**
 * @author Susong
 * @date 创建时间2019/4/3
 * @description 销售总额实体类
 * @version
 */
class SaleAmountEntity {
    /**
     * list : [{"id":27,"user_id":270,"distribut_money":3078,"order":{"id":700,"order_sn":"201903141635561906","order_goods":[{"goods_name":"小米（MI）电视 55英寸 4K 智能WiFi网络平板 智能语音 液晶电视机 标准版 T 4A L55M5-AZ","goods_price":"2598.00","rec_id":703,"goods_id":5,"goods_num":10},{"goods_name":"哥弟女装2018春季新款口袋趣味图案贴标连帽针织长开衫A400065 连帽设计 实穿美观","goods_price":"480.00","rec_id":704,"goods_id":7,"goods_num":10}]}},{"id":28,"user_id":270,"distribut_money":3078,"order":{"id":700,"order_sn":"201903141635561906","order_goods":[{"goods_name":"小米（MI）电视 55英寸 4K 智能WiFi网络平板 智能语音 液晶电视机 标准版 T 4A L55M5-AZ","goods_price":"2598.00","rec_id":703,"goods_id":5,"goods_num":10},{"goods_name":"哥弟女装2018春季新款口袋趣味图案贴标连帽针织长开衫A400065 连帽设计 实穿美观","goods_price":"480.00","rec_id":704,"goods_id":7,"goods_num":10}]}},{"id":29,"user_id":270,"distribut_money":3078,"order":{"id":700,"order_sn":"201903141635561906","order_goods":[{"goods_name":"小米（MI）电视 55英寸 4K 智能WiFi网络平板 智能语音 液晶电视机 标准版 T 4A L55M5-AZ","goods_price":"2598.00","rec_id":703,"goods_id":5,"goods_num":10},{"goods_name":"哥弟女装2018春季新款口袋趣味图案贴标连帽针织长开衫A400065 连帽设计 实穿美观","goods_price":"480.00","rec_id":704,"goods_id":7,"goods_num":10}]}}]
     * total_money : 9234
     */
    var total_money = 0f
    var list: List<SaleAmountDetail>? = null
}

class SaleAmountDetail : Serializable {
    /**
     * id : 27
     * user_id : 270
     * distribut_money : 3078
     * order : {"id":700,"order_sn":"201903141635561906","order_goods":[{"goods_name":"小米（MI）电视 55英寸 4K 智能WiFi网络平板 智能语音 液晶电视机 标准版 T 4A L55M5-AZ","goods_price":"2598.00","rec_id":703,"goods_id":5,"goods_num":10},{"goods_name":"哥弟女装2018春季新款口袋趣味图案贴标连帽针织长开衫A400065 连帽设计 实穿美观","goods_price":"480.00","rec_id":704,"goods_id":7,"goods_num":10}]}
     */
    var id = 0
    var user_id = 0
    var distribut_money = 0f
    var order: SaleOrder? = null
}

class SaleOrder : Serializable {
    /**
     * id : 700
     * order_sn : 201903141635561906
     * order_goods : [{"goods_name":"小米（MI）电视 55英寸 4K 智能WiFi网络平板 智能语音 液晶电视机 标准版 T 4A L55M5-AZ","goods_price":"2598.00","rec_id":703,"goods_id":5,"goods_num":10},{"goods_name":"哥弟女装2018春季新款口袋趣味图案贴标连帽针织长开衫A400065 连帽设计 实穿美观","goods_price":"480.00","rec_id":704,"goods_id":7,"goods_num":10}]
     */
    var id = 0
    var order_sn: String? = null
    var order_goods: List<SaleOrderGoods>? = null
}

class SaleOrderGoods : Serializable {
    /**
     * goods_name : 小米（MI）电视 55英寸 4K 智能WiFi网络平板 智能语音 液晶电视机 标准版 T 4A L55M5-AZ
     * goods_price : 2598.00
     * rec_id : 703
     * goods_id : 5
     * goods_num : 10
     */
    var goods_name: String? = null
    var goods_price: String? = null
    var rec_id = 0
    var goods_id = 0
    var goods_num = 0
}